package com.fch.sdlibrary.service;

import com.fch.sdlibrary.entity.BookClazz;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sdlibrarySpring
 * @description: 图书分类服务类
 * @CreatedBy: fch
 * @create: 2022-05-07 19:01
 **/
public interface BookClazzService {
    List<BookClazz> queryL1();

    List<BookClazz> queryL2(String bookCode);

    List<BookClazz> queryL3(String bookCode);

    String getBookClassName(String code);

    boolean isExist(String bookCode);

    boolean AddClazzL1(BookClazz bookClazz);

    boolean AddClazzChild(BookClazz bookClazz);

    List<BookClazz> getBookClazzList(String bookClassCode);
}
